package com.yuke.cloud.service.api.omc.service.hystrix;

import com.yuke.cloud.common.util.wrapper.Wrapper;
import com.yuke.cloud.service.api.omc.dto.*;
import com.yuke.cloud.service.api.omc.service.OmcOrderFeignApi;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Date;
import java.util.List;
import java.util.Map;

@Component
@Slf4j
public class OmcOrderFeignApiHystrix implements OmcOrderFeignApi {


    @Override
    public Wrapper CountSales(String json) {
        return null;
    }

    @Override
    public Wrapper CountProductSalesbytime(@RequestBody String json) {
        return null;
    }

    @Override
    public String getit(String json) {
        return null;
    }

    @Override
    public List<Map> countnum(List<Long> list) {
        return null;
    }

    @Override
    public Wrapper getnum(OdsOrderDto id) {
        return null;
    }

    @Override
    public List<Map> gethistorynum(Map<String, List<Long>> niubi) {
        return null;
    }

    @Override
    public Object getorderinforbyorderid(Long orderid) {
        return null;
    }

    @Override
    public Long saveorderDeliver(Map map) {
        return null;
    }

    @Override
    public List<GoodsInfo> countmonthnumbyprimikey(List<GoodsInfo> shop_goods_id) {
        return null;
    }

    @Override
    public OdsOrderDto getbyid(Long orderid) {
        return null;
    }

    @Override
    public int redund(Map map) {
        return 0;
    }

    @Override
    public List<OdsOrderDto> getbyidS(List<Long> orderids) {
        return null;
    }

    @Override
    public int changetorefund(Long orderId,Double money) {
        return 0;
    }

    @Override
    public Map getmapbyorderid(Long aLong) {
        return null;
    }

    @Override
    public Integer updateOrderGoods(OdsOrderGoodsDto odsOrderGoodsDto) {
        log.info("updateOrderGoods熔断");
        return 0;
    }

    @Override
    public Integer updateOrderPay(OdsOrderDto odsOrderDto) {
        log.info("updateOrderPay熔断");
        return 0;
    }

    @Override
    public OdsOrderDto getOrderAndGoodsByOrderId( Long orderId){
        log.info("getOrderAndGoodsByOrderId熔断");
        return null;
    }

    @Override
    public List<OdsOrderApiDto> countByShopIds(List<Long> collect, String beginTime, String endTime) {
        log.info("countByShopIds熔断");
        return null;
    }



    @Override
    public Map countOrderByShopIds(List<Long> shopIds, Date beginTime, Date endTime){
        log.info("countOrderByShopIds熔断");
        return null;
    }

    @Override
    public List<DmsStoreOrderApi> countByDmsStore(List<DmsStoreOrderApi> dmsStoreOrderApis) {
        log.info("dmsStoreOrderApis熔断");
        return null;
    }

    @Override
    public List<OdsTeamSpecInfoDto> selectTeamInfoBySpecIds(List<Long> specIds, Long warehouseId) {
        log.info("selectTeamInfo熔断");
        return null;
    }


    @Override
    public void sendAwardRecord(Long orderId) {
        log.info("sendAwardRecord熔断");
        return;
    }

    @Override
    public List<StoreOrderDto> countByShopListByStoreOrderDtos(List<StoreOrderDto> storeOrderDtos){
        log.info("countByShopListByStoreOrderDtos熔断");
        return null;
    }

    @Override
    public Wrapper<OdsOrderDto> countMoneyAndUpdate(OdsOrderDto odsOrder){
        log.info("countMoneyAndUpdate熔断");
        return null;
    }


    @Override
    public List<OdsGoodSalesApiDto> goodsSales(OdsGoodSalesApiDto odsGoodSalesApiDto){
        log.info("odsOrderApiDto熔断");
        return null;
    }

    @Override
    public Integer countTeamIntentNumber(Long userId){
        log.info("countTeamIntentNumber熔断");
        return null;
    }

    @Override
    public  Wrapper<List<OdsTeamSpecIntentDto>> selectTeamIntentByCondition(OdsTeamSpecIntentDto odsTeamSpecIntentDto){
        log.info("selectTeamIntentByCondition熔断");
        return null;
    }

    @Override
    public Integer updateIntentGoods(OdsTeamSpecGoods odsTeamSpecGoods) {
        log.info("updateIntentGoods熔断");
        return 0;
    }
}
